#ifndef __IDENT__
#define __IDENT__

#include "CardDTD.h"
#include "ComponentDTD.h"
#include <string>

class IdentDTD : public ComponentDTD
{
	private:
		std::string name;
		Card card; // cardinality (+, * or ? or nothing)

    public:
        IdentDTD(const char *_name, Card _card);
        std::string getName() const;
        virtual ~IdentDTD(){};
        virtual void display() const;
        virtual std::string regExpCreate() const;
};


#endif
